From 39d34b604259b17e2517fcddb5ee15198d7cb412 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 22 Aug 2013 13:41:11 +0200 Subject: Fix a few problems - Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK) - Do not set Membership::modes in ForceJoin() incorrectly to privs - Fix crash when spanningtree detects a configuration error on load --- src/channels.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index cab4fb739..afc569909 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -337,7 +337,6 @@ void Channel::ForceJoin(User* user, const std::string* privs, bool bursting, boo { // If the user was granted prefix modes (in the OnUserPreJoin hook, or he's a // remote user and his own server set the modes), then set them internally now - memb->modes = *privs; for (std::string::const_iterator i = privs->begin(); i != privs->end(); ++i) { ModeHandler* mh = ServerInstance->Modes->FindMode(*i, MODETYPE_CHANNEL); -- cgit v1.3.1-10-gc9f91