From eed401b6ecb6e1b88ee8ca3aa4c0b4df491e2035 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 4 Aug 2008 15:31:21 +0000 Subject: Oops, actually, return 1 to block change, 0 to check it, -1 to allow it regardless. Update docs in header also. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10083 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 772f4ab5f..3f4be033a 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1173,7 +1173,7 @@ class CoreExport Module : public Extensible virtual int OnChangeLocalUserGECOS(User* user, const std::string &newhost); /** Called whenever a topic is changed by a local user. - * Return 1 to deny the topic change, or 0 to allow it. + * Return 1 to deny the topic change, 0 to check details on the change, -1 to let it through with no checks * @param user The user changing the topic * @param chan The channels who's topic is being changed * @param topic The actual topic text -- cgit v1.2.3