summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 268cc6554..a786c60cb 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -129,7 +129,7 @@ void ChangeDisplayedHost(userrec* user, const char* host)
FOREACH_MOD(I_OnChangeHost,OnChangeHost(user,host));
}
strlcpy(user->dhost,host,63);
- WriteServ(user->fd,"396 %s %s :is now your hidden host",user->nick,user->dhost);
+ user->WriteServ("396 %s %s :is now your hidden host",user->nick,user->dhost);
}
/* verify that a user's ident and nickname is valid */