+
+ # 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;
+