Changeset 7e4f439c
- Timestamp:
- 2016-09-20T03:39:05Z (8 years ago)
- Branches:
- master
- Children:
- 028ca92
- Parents:
- 725f942
- git-author:
- Marius Halden <marius.h@…> (26-07-16 17:44:18)
- git-committer:
- jgeboski <jgeboski@…> (20-09-16 03:39:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r725f942 r7e4f439c 1234 1234 1235 1235 if (cmd[3][0] == '!') { 1236 if (!acc->prpl->chat_list) { 1236 if (!acc->ic || !(acc->ic->flags & OPT_LOGGED_IN)) { 1237 irc_rootmsg(irc, "Not logged in to account."); 1238 return; 1239 } else if (!acc->prpl->chat_list) { 1237 1240 irc_rootmsg(irc, "Listing chatrooms not supported on that account."); 1238 1241 return; … … 1288 1291 if (!(acc = account_get(irc->b, cmd[2]))) { 1289 1292 irc_rootmsg(irc, "Invalid account"); 1293 return; 1294 } else if (!acc->ic || !(acc->ic->flags & OPT_LOGGED_IN)) { 1295 irc_rootmsg(irc, "Not logged in to account."); 1290 1296 return; 1291 1297 } else if (!acc->prpl->chat_list) {
Note: See TracChangeset
for help on using the changeset viewer.