]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstre...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 13 Jun 2007 18:12:04 +0000 (18:12 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 13 Jun 2007 18:12:04 +0000 (18:12 +0000)
commit17d91b065e98963451e595d7697357a40a1c4425
treeb7923a7069383257910df9dde29d4b5d1c4293cb
parenta09c6eb1ce2b91299137c42ff65d3e57468d3672
Fixes for tokenization oddness with metadata, and weird behaviour of std::istringstream where the .str() method returns the whole string from the start to end, even AFTER youve read elements from it!
Use irc::tokenstream instead and add some overridden methods to it. This is smarter as it reuses code and allows us to format metadata the same way we format irc data.
NOTE: If you run any old servers alongside new servers (this revision) you might see spurious colons on the start of reasons for svsholds, cbans and filters. These can safely be ignored)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7283 e03df62e-2008-0410-955e-edbf42e46eb7
include/hashcomp.h
src/hashcomp.cpp
src/modules/m_cban.cpp
src/modules/m_filter.h
src/modules/m_svshold.cpp