From a98b333a4d4987b5209977e52d0cc2b29d77a34e Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 2 Jan 2011 10:12:08 +0100 Subject: [PATCH] eliminate one layer of abstraction --- plugins/checksum/checksum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 9731876f..ea6d9a42 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -122,7 +122,7 @@ dccoffer_cb (char *word[], void *userdata) char sum[65]; sha256_file (word[3], sum); - xchat_commandf (ph, "raw PRIVMSG %s :SHA-256 checksum for %s (remote): %s", word[2], word[1], sum); + xchat_commandf (ph, "quote PRIVMSG %s :SHA-256 checksum for %s (remote): %s", word[2], word[1], sum); return XCHAT_EAT_NONE; } @@ -134,7 +134,7 @@ xchat_plugin_init (xchat_plugin *plugin_handle, char **plugin_name, char **plugi *plugin_name = "Checksum"; *plugin_desc = "Calculate checksum for DCC file transfers"; - *plugin_version = "1.1"; + *plugin_version = "1.2"; xchat_hook_print (ph, "DCC RECV Complete", XCHAT_PRI_NORM, dccrecv_cb, NULL); xchat_hook_print (ph, "DCC Offer", XCHAT_PRI_NORM, dccoffer_cb, NULL);