diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-14 16:57:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-14 16:57:52 +0000 |
commit | 4eb254df411f8dd1694f1b3781c77f702538c59f (patch) | |
tree | f09afffe3c05f97a2cc38d8e141c0bf9aca1822d /src/modules/m_nonicks.cpp | |
parent | 06149e3f2b56258e76e9c5d5e7f5997a05bdd7f0 (diff) |
Refactoring:
1) Chain together a resize and an append, to improve the buffer read efficiency
2) eliminate a const char* pointer by doing it purely with string, saving a data copy
3) use iterators rather than ints and vector::size() for spooling motd and rules files to users
4) change a usage of !length() to empty() to make it more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5985 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nonicks.cpp')
0 files changed, 0 insertions, 0 deletions