summaryrefslogtreecommitdiff
path: root/src/cmd_oper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_oper.cpp')
-rw-r--r--src/cmd_oper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp
index eafeb227b..abd34f653 100644
--- a/src/cmd_oper.cpp
+++ b/src/cmd_oper.cpp
@@ -93,7 +93,7 @@ void cmd_oper::Handle (const char** parameters, int pcnt, userrec *user)
/* found this oper's opertype */
Config->ConfValue(Config->config_data, "type","host", j, HostName, MAXBUF);
if (*HostName)
- ChangeDisplayedHost(user,HostName);
+ user->ChangeDisplayedHost(HostName);
if (!isnick(TypeName))
{
user->WriteServ("491 %s :Invalid oper type (oper types must follow the same syntax as nicknames)",user->nick);