From 8b96626119ecdcece7541e5debdf7e234edbee3a Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 16 Jan 2010 15:13:21 +0000 Subject: Search for correct access level for mode changes, remove hardcoded halfop references git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12265 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index 8d145aa16..7c60b54f0 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -101,7 +101,7 @@ int Channel::SetTopic(User *u, std::string &ntopic, bool forceset) } if ((this->IsModeSet('t')) && (this->GetPrefixValue(u) < HALFOP_VALUE)) { - u->WriteNumeric(482, "%s %s :You must be at least a half-operator to change the topic on this channel", u->nick.c_str(), this->name.c_str()); + u->WriteNumeric(482, "%s %s :You do not have access to change the topic on this channel", u->nick.c_str(), this->name.c_str()); return CMD_FAILURE; } } -- cgit v1.2.3