Changeset 3ac6d9f for root_commands.c
- Timestamp:
- 2016-03-23T06:44:13Z (8 years ago)
- Branches:
- master
- Children:
- e41ba05
- Parents:
- d701547
- git-author:
- Dennis Kaarsemaker <dennis@…> (22-02-16 20:04:10)
- git-committer:
- Dennis Kaarsemaker <dennis@…> (23-03-16 06:44:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
rd701547 r3ac6d9f 388 388 irc_rootmsg(irc, "This setting can only be changed when the account is %s-line", "on"); 389 389 return 0; 390 } else if (a->flags & ACC_FLAG_LOCKED && s && s->flags & ACC_SET_LOCKABLE) { 391 irc_rootmsg(irc, "This setting can not be changed for locked accounts"); 392 return 0; 390 393 } 391 394 … … 547 550 548 551 if (len >= 1 && g_strncasecmp(cmd[2], "del", len) == 0) { 549 if (a->ic) { 552 if (a->flags & ACC_FLAG_LOCKED) { 553 irc_rootmsg(irc, "Account is locked, can't delete"); 554 } 555 else if (a->ic) { 550 556 irc_rootmsg(irc, "Account is still logged in, can't delete"); 551 557 } else {
Note: See TracChangeset
for help on using the changeset viewer.