Changeset 16ea00d
- Timestamp:
- 2018-02-11T21:27:17Z (7 years ago)
- Branches:
- master
- Children:
- 8167346
- Parents:
- 1dcbd3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r1dcbd3e r16ea00d 1342 1342 set_setstr(&ic->set, "account", cmd[2]) && 1343 1343 set_setstr(&ic->set, "room", room)) { 1344 irc_rootmsg(irc, "Chatroom successfully added .");1344 irc_rootmsg(irc, "Chatroom successfully added, join with \002/join %s\002", channel); 1345 1345 } else { 1346 1346 if (ic) { 1347 1347 irc_channel_free(ic); 1348 } 1349 1350 irc_rootmsg(irc, "Could not add chatroom."); 1348 1349 irc_rootmsg(irc, "Error adding chatroom."); 1350 } else if (irc_channel_by_name(irc, channel)) { 1351 irc_rootmsg(irc, "A channel named `%s' already exists. " 1352 "Join with \002/join %s\002 or see \002help channel\002 to modify it", 1353 channel, channel); 1354 } else { 1355 irc_rootmsg(irc, "Error creating channel for chatroom."); 1356 } 1351 1357 } 1352 1358 g_free(channel);
Note: See TracChangeset
for help on using the changeset viewer.