summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 59f4d1cf3..591847407 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -362,8 +362,9 @@ class CoreExport Channel : public Extensible
* @param user The user to associate the privilage with
* @param prefix The prefix character to associate
* @param adding True if adding the prefix, false when removing
+ * @return True if a change was made
*/
- void SetPrefix(User* user, char prefix, bool adding);
+ bool SetPrefix(User* user, char prefix, bool adding);
/** Check if a user is banned on this channel
* @param user A user to check against the banlist