diff --git a/plugins/fishlim/plugin_hexchat.c b/plugins/fishlim/plugin_hexchat.c index c7b06036..f200ea8c 100644 --- a/plugins/fishlim/plugin_hexchat.c +++ b/plugins/fishlim/plugin_hexchat.c @@ -221,7 +221,7 @@ static int handle_setkey(char *word[], char *word_eol[], void *userdata) { if (keystore_store_key(nick, key)) { hexchat_printf(ph, "Stored key for %s\n", nick); } else { - hexchat_printf(ph, "\00305Failed to store key in addon_fishlim.conf\n", nick, key); + hexchat_printf(ph, "\00305Failed to store key in addon_fishlim.conf\n"); } return HEXCHAT_EAT_HEXCHAT; @@ -245,7 +245,7 @@ static int handle_delkey(char *word[], char *word_eol[], void *userdata) { if (keystore_delete_nick(nick)) { hexchat_printf(ph, "Deleted key for %s\n", nick); } else { - hexchat_printf(ph, "\00305Failed to delete key in addon_fishlim.conf!\n", nick); + hexchat_printf(ph, "\00305Failed to delete key in addon_fishlim.conf!\n"); } return HEXCHAT_EAT_HEXCHAT; diff --git a/src/common/outbound.c b/src/common/outbound.c index a36b9880..651558ce 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3713,8 +3713,8 @@ userlist_cb (struct User *user, session *sess) else lt = time (0) - user->lasttalk; PrintTextf (sess, - "\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%d\n", - user->nick, user->hostname, user->op, user->voice, user->away, lt); + "\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%ld\n", + user->nick, user->hostname, user->op, user->voice, user->away, (long)lt); return TRUE; }