diff options
Diffstat (limited to 'src')
-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) { |