projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19fc62c
)
only use the user-greeting if it really exists
author
pk910
<philipp@zoelle1.de>
Wed, 21 Sep 2011 13:45:44 +0000
(15:45 +0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 21 Sep 2011 13:45:44 +0000
(15:45 +0200)
event_neonserv_join.c
patch
|
blob
|
history
diff --git
a/event_neonserv_join.c
b/event_neonserv_join.c
index 3f6d5d3be9a40f4aaabd02326773ba1858fe064d..25f6cf6f5d917cb08f805ea719d1b280cd4faeeb 100644
(file)
--- a/
event_neonserv_join.c
+++ b/
event_neonserv_join.c
@@
-73,7
+73,7
@@
static void neonserv_event_join_async1(struct ClientSocket *client, struct ChanU
//GREETING
char greeting[MAXLEN];
int greetingPos = 0;
- char *a, *b = (chanuserrow ? row[2] : row[1]);
+ char *a, *b = (chanuserrow
&& row[2]
? row[2] : row[1]);
do {
if(!b) break;
a = strstr(b, "$");