X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=cd6a5a4b8f5422774382a7329d87eee16046d3d5;hb=ab8305ad99d7bb7d2cfe4154b2deb007546d5b70;hp=59f4d1cf35530b35eb46ab98fbe79a1e717b3739;hpb=d3747f2943c403863bc31c8d3e9802ccc763f4d3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index 59f4d1cf3..cd6a5a4b8 100644 --- a/include/channels.h +++ b/include/channels.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * InspIRCd: (C) 2002-2010 InspIRCd Development Team * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see @@ -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