PKG_NAME:=znc
PKG_VERSION:=0.098
-PKG_RELEASE:=2
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://znc.in/releases
$(eval $(call module,fail2ban,Block IPs for some time after a failed login.))
-$(eval $(call module,fixfreenode,This module blocks some freenode-specific \
- feature which results in plus (+) and minus (-) signs being displayed in \
- front of every message from a client.))
-
$(eval $(call module,keepnick,Tries to get you your primary nick.))
$(eval $(call module,kickrejoin,Implements auto-rejoin-on-kick.))
--- /dev/null
+--- a/Chan.cpp
++++ b/Chan.cpp
+@@ -417,9 +417,10 @@ bool CChan::AddNick(const CString& sNick
+ // Get the nick
+ sTmp = sTmp.Token(0, false, "!");
+
++ CNick tmpNick(sTmp);
+ CNick* pNick = FindNick(sTmp);
+ if (!pNick) {
+- pNick = new CNick(sTmp);
++ pNick = &tmpNick;
+ pNick->SetUser(m_pUser);
+ }
+