diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 20:30:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 20:30:41 +0000 |
commit | 21deb54715b6937ac9d4de5e2c4c46fb1b38aa3a (patch) | |
tree | a14f287c3320575fcb1b7831cca0b49fc0a5aeb5 /src/cmd_wallops.cpp | |
parent | 7de28b5b350c97562b4696aaa42a0a64a91d854d (diff) |
WriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs in userrec)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4802 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_wallops.cpp')
-rw-r--r-- | src/cmd_wallops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_wallops.cpp b/src/cmd_wallops.cpp index 453ce911d..a30ab0762 100644 --- a/src/cmd_wallops.cpp +++ b/src/cmd_wallops.cpp @@ -27,6 +27,6 @@ extern ServerConfig* Config; void cmd_wallops::Handle (const char** parameters, int pcnt, userrec *user) { - WriteWallOps(user,false,"%s",parameters[0]); + user->WriteWallOps(std::string(parameters[0])); FOREACH_MOD(I_OnWallops,OnWallops(user,parameters[0])); } |