X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=b71da1570fbe5b41fdfca96031a4386fd8dbf973;hb=21eba8e86b3d7361bc9334b4e15e968ba095db76;hp=56e1a5a49e9660c677fc2dc18aed5307dbe5aa85;hpb=accccc212cd4f08a3c5532b1ae7a17e76bac8718;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index 56e1a5a49..b71da1570 100644 --- a/include/channels.h +++ b/include/channels.h @@ -279,7 +279,7 @@ class CoreExport Channel : public Extensible, public InviteBase * otherwise it is replaced with '<KEY>' * @return The channel mode string */ - char* ChanModes(bool showkey); + const char* ChanModes(bool showkey); /** Spool the NAMES list for this channel to the given user * @param user The user to spool the NAMES list to