summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 10:37:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-09 10:37:42 +0000
commit6d4128715da39b1e097642a64ee0bd40586d9a38 (patch)
tree72c1d36df7c59e4b39ca7210df85e18554a2d1ae /src/modules/extra
parent0f61489ddb2f54d62c6a59e169901e4a17098230 (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/modules/extra')
-rw-r--r--src/modules/extra/m_sqloper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 3e91959b8..a67ec46e2 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -231,7 +231,7 @@ public:
std::string operhost = Conf.ReadValue("type", "host", j);
if (operhost.size())
- Srv->ChangeHost(user, operhost);
+ user->ChangeDisplayedHost(operhost);
strlcpy(user->oper, type.c_str(), NICKMAX-1);