diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-23 22:47:39 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-23 22:47:39 +0000 |
commit | b16e16ac1bae4ac5494778b4b8a7009febb58137 (patch) | |
tree | 62839ed4c9a899302146fd9f8bdae2ed919029bf /src/modules/m_sakick.cpp | |
parent | 18abdab35dcfa6b3677d3bd8b898261af5acb7ee (diff) |
Make User::uuid and User::server const
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sakick.cpp')
-rw-r--r-- | src/modules/m_sakick.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_sakick.cpp b/src/modules/m_sakick.cpp index b81df75c6..d6b6e965b 100644 --- a/src/modules/m_sakick.cpp +++ b/src/modules/m_sakick.cpp @@ -31,7 +31,6 @@ class CommandSakick : public Command User* dest = ServerInstance->FindNick(parameters[1]); Channel* channel = ServerInstance->FindChan(parameters[0]); const char* reason = ""; - const char* servername = NULL; if (dest && channel) { @@ -56,7 +55,7 @@ class CommandSakick : public Command */ if (IS_LOCAL(dest)) { - channel->ServerKickUser(dest, reason, servername); + channel->KickUser(ServerInstance->FakeClient, dest, reason); Channel *n = ServerInstance->FindChan(parameters[1]); if (n && n->HasUser(dest)) |