Changeset 3f44e43 for root_commands.c
- Timestamp:
- 2016-11-21T07:49:26Z (8 years ago)
- Children:
- 7a9d968
- Parents:
- 537d9b9 (diff), 5a8afc3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
root_commands.c
r537d9b9 r3f44e43 439 439 440 440 if (prpl == NULL) { 441 if (is_protocol_disabled(cmd[2])) { 442 irc_rootmsg(irc, "Protocol disabled in global config"); 443 } else { 444 irc_rootmsg(irc, "Unknown protocol"); 445 } 441 char *msg = explain_unknown_protocol(cmd[2]); 442 irc_rootmsg(irc, "Unknown protocol"); 443 irc_rootmsg(irc, msg); 444 g_free(msg); 446 445 return; 447 446 } … … 592 591 "first (use /OPER)", a->tag); 593 592 } else if (a->prpl == &protocol_missing) { 594 irc_rootmsg(irc, "Protocol `%s' not recognised (plugin may be missing or not running?)", 595 set_getstr(&a->set, "_protocol_name")); 593 char *proto = set_getstr(&a->set, "_protocol_name"); 594 char *msg = explain_unknown_protocol(proto); 595 irc_rootmsg(irc, "Unknown protocol `%s'", proto); 596 irc_rootmsg(irc, msg); 597 g_free(msg); 596 598 } else { 597 599 account_on(irc->b, a);
Note: See TracChangeset
for help on using the changeset viewer.