Skip to content

Instantly share code, notes, and snippets.

@ward
Created January 18, 2012 23:43
Show Gist options
  • Save ward/1636568 to your computer and use it in GitHub Desktop.
Save ward/1636568 to your computer and use it in GitHub Desktop.
SwiftIRC Unreal - block reverse
--- channel.c.old 2012-01-19 00:42:31.859634901 +0100
+++ channel.c 2012-01-19 00:42:52.066301195 +0100
@@ -796,7 +796,7 @@
char *c;
for (c = msgtext; *c; c++)
{
- if (*c == 3 || *c == 27 || *c == 4)
+ if (*c == 3 || *c == 27 || *c == 4 || *c == 22)
return (CANNOT_SEND_NOCOLOR);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment