From 6d4128715da39b1e097642a64ee0bd40586d9a38 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 10:37:42 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 6ced44c9f..aeeaa2c52 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2189,7 +2189,7 @@ class TreeSocket : public InspSocket if (u) { - Srv->ChangeHost(u,params[0]); + u->ChangeDisplayedHost(params[0].c_str()); DoOneToAllButSender(prefix,"FHOST",params,u->server); } return true; @@ -2261,7 +2261,7 @@ class TreeSocket : public InspSocket if (u) { - Srv->ChangeGECOS(u,params[0]); + u->ChangeName(params[0].c_str()); params[0] = ":" + params[0]; DoOneToAllButSender(prefix,"FNAME",params,u->server); } -- cgit v1.2.3