summaryrefslogtreecommitdiff
path: root/include/u_listmode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/u_listmode.h')
-rw-r--r--include/u_listmode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h
index d6e534e07..773ca421f 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -268,7 +268,7 @@ class ListModeBase : public ModeHandler
/** Handle the list mode.
* See mode.h
*/
- virtual ModeAction OnModeChange(User* source, User*, Channel* channel, std::string &parameter, bool adding, bool servermode)
+ virtual ModeAction OnModeChange(User* source, User*, Channel* channel, std::string &parameter, bool adding)
{
// Try and grab the list
modelist* el;
@@ -326,7 +326,7 @@ class ListModeBase : public ModeHandler
// And now add the mask onto the list...
ListItem e;
e.mask = parameter;
- e.nick = servermode ? ServerInstance->Config->ServerName : source->nick;
+ e.nick = source->nick;
e.time = stringtime(ServerInstance);
el->push_back(e);