projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2736027
)
fixed missing parameter
author
pk910
<philipp@zoelle1.de>
Wed, 17 Aug 2011 02:43:52 +0000
(
04:43
+0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 17 Aug 2011 02:53:45 +0000
(
04:53
+0200)
IRCParser.h
patch
|
blob
|
history
UserNode.c
patch
|
blob
|
history
diff --git
a/IRCParser.h
b/IRCParser.h
index fb41e555cd2bdc1946130e3ed4745c9800e5d498..5d216873bedf6540d61af7ba0844b25c911c32a5 100644
(file)
--- a/
IRCParser.h
+++ b/
IRCParser.h
@@
-19,6
+19,6
@@
int parse_lines(struct ClientSocket *client, char *lines, int len);
void bot_disconnect(struct ClientSocket *client);
void init_parser();
void free_parser();
-void reply(struct ClientSocket *client, struct UserNode *user, const char *text, ...)
PRINTF_LIKE(3, 4)
;
+void reply(struct ClientSocket *client, struct UserNode *user, const char *text, ...);
#endif
\ No newline at end of file
diff --git
a/UserNode.c
b/UserNode.c
index 06069403b638194c8f6495245c40db7bb157dcf6..dbec20f4fd707247808374c980171256f530c34e 100644
(file)
--- a/
UserNode.c
+++ b/
UserNode.c
@@
-285,6
+285,6
@@
void load_user_settings(struct UserNode *user) {
}
int isGodMode(struct UserNode *user) {
- load_user_settings();
+ load_user_settings(
user
);
return (user->flags & USERFLAG_GOD_MODE);
}