some formatting
This commit is contained in:
parent
cd49a8325c
commit
a4c0e7f3fe
|
@ -107,8 +107,8 @@ dccrecv_cb(char *word[], void *userdata)
|
||||||
{
|
{
|
||||||
unsigned char sum[65];
|
unsigned char sum[65];
|
||||||
sha256_file (word[2], sum);
|
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, "DCC RECV %s from %s complete [%s cps]\n", word[1], word[3], word[4]);
|
||||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
|
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
|
||||||
return XCHAT_EAT_XCHAT;
|
return XCHAT_EAT_XCHAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ dccoffer_cb(char *word[], void *userdata)
|
||||||
{
|
{
|
||||||
unsigned char sum[65];
|
unsigned char sum[65];
|
||||||
sha256_file (word[3], sum);
|
sha256_file (word[3], sum);
|
||||||
xchat_printf (ph, "Offering %s to %s", word[1], word[2]);
|
xchat_printf (ph, "Offering %s to %s\n", word[1], word[2]);
|
||||||
xchat_printf (ph, "SHA256 checksum for %s:\n%s", word[1], sum);
|
xchat_printf (ph, "SHA256 checksum for %s:\n%s\n", word[1], sum);
|
||||||
return XCHAT_EAT_XCHAT;
|
return XCHAT_EAT_XCHAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,15 +74,15 @@ print_version ()
|
||||||
|
|
||||||
if (strcmp (version, xchat_get_info (ph, "version")) == 0)
|
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)
|
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
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue