projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added OPER support (let the bots try to op themselves)
[NeonServV5.git]
/
src
/
IRCParser.c
diff --git
a/src/IRCParser.c
b/src/IRCParser.c
index cf98cc182c4875762068d04daebccf360b6754e4..2ff95c8ba066b3e2b440d1b6250e4242060e1042 100644
(file)
--- a/
src/IRCParser.c
+++ b/
src/IRCParser.c
@@
-668,6
+668,11
@@
static IRC_CMD(raw_mode) {
event_mode(user, chan, argv[1], argv+2, argc-2);
} else {
//UserMode
+ if(stricmp(client->user->nick, argv[0])) {
+ DESYNCHRONIZE(cache_sync);
+ return 0;
+ }
+ parseUserModes(client->user, argv[1]);
}
DESYNCHRONIZE(cache_sync);
return 1;