summaryrefslogtreecommitdiff
path: root/src/cmd_nick.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 20:08:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 20:08:02 +0000
commita318eee150eb0e1a862d362a5e9011431f0595d6 (patch)
treeaf914e3ccdba10a37fd6ef46d645d55ee138ef57 /src/cmd_nick.cpp
parentd54f233a5ea7d6fae389f0b2ef8bfc8b80f472e4 (diff)
WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::WriteCommonExcept()
WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_nick.cpp')
-rw-r--r--src/cmd_nick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp
index 626b97a79..6f3329b8c 100644
--- a/src/cmd_nick.cpp
+++ b/src/cmd_nick.cpp
@@ -79,7 +79,7 @@ void cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
if (MOD_RESULT)
return;
if (user->registered == REG_ALL)
- WriteCommon(user,"NICK %s",parameters[0]);
+ user->WriteCommon("NICK %s",parameters[0]);
strlcpy(user->nick, parameters[0], NICKMAX - 1);
FOREACH_MOD(I_OnUserPostNick,OnUserPostNick(user,oldnick));
return;
@@ -117,7 +117,7 @@ void cmd_nick::Handle (const char** parameters, int pcnt, userrec *user)
return;
}
- WriteCommon(user,"NICK %s",parameters[0]);
+ user->WriteCommon("NICK %s",parameters[0]);
}