summaryrefslogtreecommitdiff
path: root/include/modes/cmode_n.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 16:07:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-20 16:07:02 +0000
commit08dc6b94f774f8f836354c8ac1c1945ddf35ad48 (patch)
tree0ba7321f28a9d88f52b3924b2ddba5bc39c610f9 /include/modes/cmode_n.h
parente895332dff10f1bc4420fb60023834a049a5a08f (diff)
Better way even than suggested.
We need one counter, nonlistmodes_found, and start with it at 0. In the while loop, if we find any modes that arent of list mode type we inc the counter, and if the counter is zero after the end of the loop, we can just return (we processed everything already and nothing is left) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6401 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modes/cmode_n.h')
0 files changed, 0 insertions, 0 deletions