Merge pull request #102 from jkcclemens/patch-1

Fixed: Show who messages come from
This commit is contained in:
John Reese 2014-06-17 09:58:41 -07:00
commit f6de099e78
1 changed files with 4 additions and 4 deletions

View File

@ -967,7 +967,7 @@ class CPushMod : public CModule
msg += ": [" + nick.GetNick(); msg += ": [" + nick.GetNick();
msg += "] " + message; msg += "] " + message;
send_message(msg, title, channel.GetName()); send_message(msg, title, channel.GetName(), nick);
} }
return CONTINUE; return CONTINUE;
@ -989,7 +989,7 @@ class CPushMod : public CModule
msg += ": " + nick.GetNick(); msg += ": " + nick.GetNick();
msg += " " + message; msg += " " + message;
send_message(msg, title, channel.GetName()); send_message(msg, title, channel.GetName(), nick);
} }
return CONTINUE; return CONTINUE;
@ -1009,7 +1009,7 @@ class CPushMod : public CModule
CString msg = "From " + nick.GetNick(); CString msg = "From " + nick.GetNick();
msg += ": " + message; msg += ": " + message;
send_message(msg, title, nick.GetNick()); send_message(msg, title, nick.GetNick(), nick);
} }
return CONTINUE; return CONTINUE;
@ -1029,7 +1029,7 @@ class CPushMod : public CModule
CString msg = "* " + nick.GetNick(); CString msg = "* " + nick.GetNick();
msg += " " + message; msg += " " + message;
send_message(msg, title, nick.GetNick()); send_message(msg, title, nick.GetNick(), nick);
} }
return CONTINUE; return CONTINUE;