diff options
Diffstat (limited to 'src/modules/m_sanick.cpp')
-rw-r--r-- | src/modules/m_sanick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sanick.cpp b/src/modules/m_sanick.cpp index a323844d5..42d54731c 100644 --- a/src/modules/m_sanick.cpp +++ b/src/modules/m_sanick.cpp @@ -47,7 +47,7 @@ class cmd_sanick : public command_t user->WriteServ("990 %s :Cannot use an SA command on a u-lined client",user->nick); return; } - if (Srv->IsNick(std::string(parameters[1]))) + if (ServerInstance->IsNick(parameters[1])) { // FIX by brain: Cant use source->nick here because if it traverses a server link then // source->nick becomes invalid as the object data moves in memory. |