summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd_quit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_quit.cpp b/src/cmd_quit.cpp
index 0fff0ee52..7ab8d31dd 100644
--- a/src/cmd_quit.cpp
+++ b/src/cmd_quit.cpp
@@ -86,7 +86,7 @@ void cmd_quit::Handle (const char** parameters, int pcnt, userrec *user)
FOREACH_MOD(I_OnUserQuit,OnUserQuit(user,"Client exited"));
}
- AddWhoWas(user);
+ user->AddToWhoWas();
}
FOREACH_MOD(I_OnUserDisconnect,OnUserDisconnect(user));