summaryrefslogtreecommitdiff
path: root/src/cmd_pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_pass.cpp')
-rw-r--r--src/cmd_pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_pass.cpp b/src/cmd_pass.cpp
index 1b972efeb..7abb7f2ab 100644
--- a/src/cmd_pass.cpp
+++ b/src/cmd_pass.cpp
@@ -24,7 +24,7 @@ void cmd_pass::Handle (const char** parameters, int pcnt, userrec *user)
// Check to make sure they havnt registered -- Fix by FCS
if (user->registered == REG_ALL)
{
- WriteServ(user->fd,"462 %s :You may not reregister",user->nick);
+ user->WriteServ("462 %s :You may not reregister",user->nick);
return;
}
ConnectClass a = GetClass(user);