]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/run-cc.pl
Don't check Q:Lines if server is enforcing a nick change (I forgot we had a way to...
[user/henk/code/inspircd.git] / make / run-cc.pl
index d4c976982c369004b1244ac577c459c935cdb94a..7ea2f39d009b85120a0f4849a4df3f10bfdcbe1c 100755 (executable)
@@ -138,6 +138,16 @@ if ($pid) {
        # Now read each line of stderr
 LINE:  while (defined(my $line = <$r_stderr>)) {
                chomp $line;
+
+               # someone come up with a better way of doing this, it cant go in message filters as message filters
+               # cant do straight-out replace.
+               #
+               # The order of these replacements is IMPORTANT. DO NOT REORDER THEM.
+
+               $line =~ s/std\:\:basic_string\<char\, std\:\:char_traits\<char\>, std::allocator\<char\> \>(\s+|)/std::string/g;
+               $line =~ s/std\:\:basic_string\<char\, .*?irc_char_traits\<char\>, std::allocator\<char\> \>(\s+|)/irc::string/g;
+               $line =~ s/std\:\:deque\<(\S+)\, std::allocator\<\S+\> \>/std::deque<$1>/g;
+
                for my $filter (@msgfilters) {
                        my @caps;
                        if (@caps = ($line =~ $filter->[0])) {