fixed coding fails
authorNurPech <nurpech@nurpech.de>
Mon, 20 May 2013 18:21:06 +0000 (20:21 +0200)
committerNurPech <nurpech@nurpech.de>
Mon, 20 May 2013 18:21:06 +0000 (20:21 +0200)
src/chanserv.c

index 44f6d9d5f1488f88c0b24d06260e0fce960e1eb9..a0e03c268088931a6980be9f92db140b07905f88 100644 (file)
@@ -1526,7 +1526,7 @@ unregister_channel(struct chanData *channel, const char *reason)
     dict_delete(channel->notes);
     if(!IsSuspended(channel))
         DelChannelUser(chanserv, channel->channel, msgbuf, 0);
-    chanserv_oper_message(CSMSGL_CHANNEL_UNREGISTERED, channel->channel->name, reason);
+    chanserv_oper_message("CSMSG_ALERT_UNREGISTERED"", channel->channel->name, reason);
     UnlockChannel(channel->channel);
     free(channel);
     registered_channels--;
@@ -2277,7 +2277,7 @@ static CHANSERV_FUNC(cmd_register)
     else
         reply("CSMSG_REG_SUCCESS", channel->name);
 
-    chanserv_oper_message(CSMSG_ALERT_REGISTERED, channel->name, handle->handle, user->handle_info->handle);
+    chanserv_oper_message("CSMSG_ALERT_REGISTERED", channel->name, handle->handle, user->handle_info->handle);
     return 1;
 }