From a270a13010f4748e6b89bb4d8aa3872e760973eb Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 15 Jan 2012 02:59:09 -0500 Subject: [PATCH] Fixed crash from last commit --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regchannel.cpp b/src/regchannel.cpp index b8cfbd4ba..1ae7115c9 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -357,7 +357,7 @@ void ChannelInfo::unserialize(serialized_data &data) { ChannelInfo *ci = cs_findchan(data["name"].astr()); if (ci == NULL) - new ChannelInfo(data["name"].astr()); + ci = new ChannelInfo(data["name"].astr()); if (data.count("founder") > 0) {