diff options
Diffstat (limited to 'src/cmd_invite.cpp')
-rw-r--r-- | src/cmd_invite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp index 0255c23dd..78de20cd8 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -34,8 +34,8 @@ void cmd_invite::Handle (const char** parameters, int pcnt, userrec *user) if (pcnt == 2) { - userrec* u = Find(parameters[0]); - chanrec* c = FindChan(parameters[1]); + userrec* u = ServerInstance->FindNick(parameters[0]); + chanrec* c = ServerInstance->FindChan(parameters[1]); if ((!c) || (!u)) { |