projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Jan Krueger <jast@heapsort.de> (by way of Kev <klmitch@mit.edu>)
[ircu2.10.12-pk.git]
/
ircd
/
m_burst.c
diff --git
a/ircd/m_burst.c
b/ircd/m_burst.c
index 262e247069f6ca1ec9382128dc3a29c93a8e6c16..649898d22b83e586f28728aab3392ddb74b9f53e 100644
(file)
--- a/
ircd/m_burst.c
+++ b/
ircd/m_burst.c
@@
-507,10
+507,13
@@
int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
do {
level_increment = 10 * level_increment + *ptr++ - '0';
} while (IsDigit(*ptr));
do {
level_increment = 10 * level_increment + *ptr++ - '0';
} while (IsDigit(*ptr));
+ --ptr;
oplevel += level_increment;
}
oplevel += level_increment;
}
- else /* I don't recognize that flag */
+ else { /* I don't recognize that flag */
+ protocol_violation(sptr, "Invalid flag '%c' in nick part of burst", *ptr);
break; /* so stop processing */
break; /* so stop processing */
+ }
}
}
}
}
}
}
@@
-545,7
+548,7
@@
int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
last_oplevel = oplevel;
}
last_oplevel = oplevel;
}
- if (
IsBurst(sptr) ||
!(member = find_member_link(chptr, acptr)))
+ if (!(member = find_member_link(chptr, acptr)))
{
add_user_to_channel(chptr, acptr, current_mode, oplevel);
if (!(current_mode & CHFL_DELAYED))
{
add_user_to_channel(chptr, acptr, current_mode, oplevel);
if (!(current_mode & CHFL_DELAYED))