From 33df390bfff01ca58551f24096cdd70034052d98 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 8 Mar 2006 23:26:30 +0000 Subject: Removed deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish has_channel, no longer needed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3562 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_topic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_topic.cpp') diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp index 9de8637b4..463184de7 100644 --- a/src/cmd_topic.cpp +++ b/src/cmd_topic.cpp @@ -98,7 +98,7 @@ void cmd_topic::Handle (char **parameters, int pcnt, userrec *user) { if (IS_LOCAL(user)) { - if ((Ptr) && (!has_channel(user,Ptr))) + if (!Ptr->HasUser(user)) { WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, Ptr->name); return; -- cgit v1.2.3