Mercurial > hg
changeset 1362:9ee58f91d19e
Fix otrpolicy from config file (franky)
/otrpolicy could not be used from conf. file since I (Mikael) introduced
the 'otr' option...
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Nov 2007 16:07:32 +0100 |
parents | 0562106d20c1 |
children | 32077249de77 |
files | mcabber/src/commands.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/commands.c Sun Nov 11 14:36:48 2007 +0100 +++ b/mcabber/src/commands.c Sun Nov 11 16:07:32 2007 +0100 @@ -3161,12 +3161,6 @@ char *fjid, *policy; enum otr_policy p; - if (!otr_enabled()) { - scr_LogPrint(LPRINT_LOGNORM, - "Warning: OTR hasn't been enabled -- command ignored."); - return; - } - paramlst = split_arg(arg, 2, 0); // [jid|default] policy fjid = *paramlst; policy = *(paramlst+1);