diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-02 13:48:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-02 13:48:00 +0000 |
commit | cf72e0d4726bf4bc27f711ea2473a7f27bf09105 (patch) | |
tree | 3c12fd14743cd7262057afe6b10c868d4d5061d1 | |
parent | d8d7b7d6e79c56be5d7ae473461a81b83ddc47a5 (diff) |
Remove testcases
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5398 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/hashcomp.h | 2 | ||||
-rw-r--r-- | src/inspircd.cpp | 42 |
2 files changed, 1 insertions, 43 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index fac1d4ed2..f4b690caf 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -170,7 +170,7 @@ namespace irc /** Return zero or more elements which form the * mode line. This will be clamped to a max of * MAXMODES+1 items (MAXMODES mode parameters and - * one mode dequence string). + * one mode sequence string). * @param result The deque to populate. This will * be cleared before it is used. * @return The number of elements in the deque diff --git a/src/inspircd.cpp b/src/inspircd.cpp index da3c603fa..2f35c9528 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -726,48 +726,6 @@ int InspIRCd::Run() int main(int argc, char** argv) { - /* - // test suite for modestacker - irc::modestacker x(true); - x.Push('o',"Brain"); - x.Push('h',"Brain"); - x.Push('v',"Brain"); - x.Push('q',"Brain"); - x.Push('a',"Brain"); - x.Push('o',"Brain"); - x.Push('h',"Brain"); - x.Push('v',"Brain"); - x.Push('q',"Brain"); - x.Push('a',"Brain"); - x.Push('o',"Brain"); - x.Push('h',"Brain"); - x.Push('v',"Brain"); - x.Push('q',"Brain"); - x.Push('a',"Brain"); - x.Push('o',"Brain"); - x.Push('h',"Brain"); - x.Push('v',"Brain"); - x.Push('q',"Brain"); - x.Push('a',"Brain"); - x.Push('o',"Brain"); - x.Push('h',"Brain"); - x.Push('v',"Brain"); - x.Push('q',"Brain"); - x.Push('a',"Brain"); - - std::deque<std::string> modes; - for (int i = 0; i < 2; i++) - { - x.GetStackedLine(modes); - printf("=== Stacked line ===\n"); - printf("Mode sequence length=%d\n",modes.size()); - for (size_t n = 0; n < modes.size(); n++) - { - printf("\tmodes[%d]='%s'\n",n,modes[n].c_str()); - } - } - return 0;*/ - SI = new InspIRCd(argc, argv); SI->Run(); delete SI; |