Moved xmpp ping to iq module

This commit is contained in:
James Booth
2014-01-26 00:15:34 +00:00
parent fbdecdad0c
commit 5472c6965a
4 changed files with 43 additions and 39 deletions

View File

@@ -2257,7 +2257,7 @@ cmd_autoping(gchar **args, struct cmd_help_t help)
if (_strtoi(value, &intval, 0, INT_MAX) == 0) {
prefs_set_autoping(intval);
jabber_set_autoping(intval);
iq_set_autoping(intval);
if (intval == 0) {
cons_show("Autoping disabled.", intval);
} else {