diff options
author | Adam <Adam@anope.org> | 2012-01-15 02:59:09 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-01-15 02:59:09 -0500 |
commit | a270a13010f4748e6b89bb4d8aa3872e760973eb (patch) | |
tree | 4b3c809637bf873a3e49420ad9ece558d122db39 | |
parent | 964d63cdacdbc3769b269ae0e6e616f58f0256bc (diff) |
Fixed crash from last commit
-rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |