From 6c5dc5e7b54edceb216a92463bf62387d0ab454b Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 15 Aug 2009 13:52:53 +0000 Subject: Partial revert of 1fb8a3f1b120db764375911be9ad8019a807a8ad by dKingston, (adding RPL_NOTOPICSET). This is *not* defined as a return for JOIN message, and it's a bit annoying too. Keep the define and use it in TOPIC instead of '331' though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11527 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_topic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_topic.cpp') diff --git a/src/commands/cmd_topic.cpp b/src/commands/cmd_topic.cpp index 280b24f4b..00b588179 100644 --- a/src/commands/cmd_topic.cpp +++ b/src/commands/cmd_topic.cpp @@ -48,7 +48,7 @@ CmdResult CommandTopic::Handle (const std::vector& parameters, User } else { - user->WriteNumeric(331, "%s %s :No topic is set.", user->nick.c_str(), c->name.c_str()); + user->WriteNumeric(RPL_NOTOPICSET, "%s %s :No topic is set.", user->nick.c_str(), c->name.c_str()); } } return CMD_SUCCESS; -- cgit v1.2.3