diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 10:37:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-09 10:37:42 +0000 |
commit | 6d4128715da39b1e097642a64ee0bd40586d9a38 (patch) | |
tree | 72c1d36df7c59e4b39ca7210df85e18554a2d1ae /src/cmd_oper.cpp | |
parent | 0f61489ddb2f54d62c6a59e169901e4a17098230 (diff) |
Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do this itself
Move:
bool ChangeDisplayedHost(const char* host);
bool ChangeName(const char* gecos);
int CountChannels();
Into userrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_oper.cpp')
-rw-r--r-- | src/cmd_oper.cpp | 2 |
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); |