projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added user registered event, tidied up helper functions and added automatic auth...
[NeonServV5.git]
/
src
/
event_neonspam_chanmsg.c
diff --git
a/src/event_neonspam_chanmsg.c
b/src/event_neonspam_chanmsg.c
index 2d2978ba349181c58d7ec5a9bd13e55f392c0b21..f5035966ea9680e42a25729acdfd86535d5382db 100644
(file)
--- a/
src/event_neonspam_chanmsg.c
+++ b/
src/event_neonspam_chanmsg.c
@@
-166,7
+166,7
@@
static void neonspam_event_chanmsg_punish(struct ClientSocket *client, struct Ch
loadChannelSettings(chanuser->chan);
int uaccess = 0;
if(chanuser->user->flags & USERFLAG_ISAUTHED)
loadChannelSettings(chanuser->chan);
int uaccess = 0;
if(chanuser->user->flags & USERFLAG_ISAUTHED)
- uaccess = getChannelAccess(chanuser->user, chanuser->chan
, 0
);
+ uaccess = getChannelAccess(chanuser->user, chanuser->chan);
char reason[MAXLEN];
reason[0] = '\0';
int punishment = 0;
char reason[MAXLEN];
reason[0] = '\0';
int punishment = 0;