From 7656c25e38529013e53bd9e95a3060d3baf1f8f2 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 14 Feb 2013 00:28:41 -0500 Subject: Made chanserv/unban with no parameters unban you in every channel you have access in --- include/channels.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index b66dc1c3d..06132a32f 100644 --- a/include/channels.h +++ b/include/channels.h @@ -277,8 +277,9 @@ class CoreExport Channel : public Base, public Extensible /** Unbans a user from this channel. * @param u The user to unban * @param full Whether or not to match using the user's real host and IP + * @return whether or not a ban was removed */ - void Unban(const User *u, bool full = false); + bool Unban(const User *u, bool full = false); /** Finds a channel * @param name The channel to find -- cgit