1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 22:13:12 +02:00

Fixed crash from last commit

This commit is contained in:
Adam
2012-01-15 02:59:09 -05:00
parent 964d63cdac
commit a270a13010
+1 -1
View File
@@ -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)
{