mirror of https://github.com/SeanOMik/znc-push.git
Fixed: Show who messages come from
This commit is contained in:
parent
f62ba64b41
commit
7ba914d660
8
push.cpp
8
push.cpp
|
@ -967,7 +967,7 @@ class CPushMod : public CModule
|
|||
msg += ": [" + nick.GetNick();
|
||||
msg += "] " + message;
|
||||
|
||||
send_message(msg, title, channel.GetName());
|
||||
send_message(msg, title, channel.GetName(), nick);
|
||||
}
|
||||
|
||||
return CONTINUE;
|
||||
|
@ -989,7 +989,7 @@ class CPushMod : public CModule
|
|||
msg += ": " + nick.GetNick();
|
||||
msg += " " + message;
|
||||
|
||||
send_message(msg, title, channel.GetName());
|
||||
send_message(msg, title, channel.GetName(), nick);
|
||||
}
|
||||
|
||||
return CONTINUE;
|
||||
|
@ -1009,7 +1009,7 @@ class CPushMod : public CModule
|
|||
CString msg = "From " + nick.GetNick();
|
||||
msg += ": " + message;
|
||||
|
||||
send_message(msg, title, nick.GetNick());
|
||||
send_message(msg, title, nick.GetNick(), nick);
|
||||
}
|
||||
|
||||
return CONTINUE;
|
||||
|
@ -1029,7 +1029,7 @@ class CPushMod : public CModule
|
|||
CString msg = "* " + nick.GetNick();
|
||||
msg += " " + message;
|
||||
|
||||
send_message(msg, title, nick.GetNick());
|
||||
send_message(msg, title, nick.GetNick(), nick);
|
||||
}
|
||||
|
||||
return CONTINUE;
|
||||
|
|
Loading…
Reference in New Issue