mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-28 14:15:38 +00:00
some formatting
This commit is contained in:
1 parent
cd49a8325c
commit
a4c0e7f3fe
2 files changed
+7
-7
No files matched your search
@@ -107,8 +107,8 @@ dccrecv_cb(char *word[], void *userdata)
|
||||
{
|
||||
unsigned char sum[65];
|
||||
sha256_file (word[2], sum);
|
||||
xchat_printf (ph, "DCC RECV %s from %s complete [%s cps]", word[1], word[3], word[4]);
|
||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
|
||||
xchat_printf (ph, "DCC RECV %s from %s complete [%s cps]\n", word[1], word[3], word[4]);
|
||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
|
||||
return XCHAT_EAT_XCHAT;
|
||||
}
|
||||
|
||||
@@ -117,8 +117,8 @@ dccoffer_cb(char *word[], void *userdata)
|
||||
{
|
||||
unsigned char sum[65];
|
||||
sha256_file (word[3], sum);
|
||||
xchat_printf (ph, "Offering %s to %s", word[1], word[2]);
|
||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
|
||||
xchat_printf (ph, "Offering %s to %s\n", word[1], word[2]);
|
||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
|
||||
return XCHAT_EAT_XCHAT;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -74,15 +74,15 @@ print_version ()
|
||||
|
||||
if (strcmp (version, xchat_get_info (ph, "version")) == 0)
|
||||
{
|
||||
xchat_printf (ph, "You have the latest version of XChat-WDK installed!");
|
||||
xchat_printf (ph, "You have the latest version of XChat-WDK installed!\n");
|
||||
}
|
||||
else if (strcmp (version, "Unknown") == 0)
|
||||
{
|
||||
xchat_printf (ph, "Unable to check for XChat-WDK updates!");
|
||||
xchat_printf (ph, "Unable to check for XChat-WDK updates!\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s.exe", version);
|
||||
xchat_printf (ph, "An XChat-WDK update is available! You can download it from here:\nhttp://xchat-wdk.googlecode.com/files/XChat-WDK%%20%s.exe\n", version);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user