projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aaf7a5
)
Fixed final error handling.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Apr 2005 09:04:14 +0000
(09:04 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 10 Apr 2005 09:04:14 +0000
(09:04 +0000)
apps/silcd/server_query.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server_query.c
b/apps/silcd/server_query.c
index 3874f6f6c9a9ad45496f4fc2eb3ce49273d01260..a248600953631b6993644b96b3a47a42a334ee81 100644
(file)
--- a/
apps/silcd/server_query.c
+++ b/
apps/silcd/server_query.c
@@
-1584,7
+1584,7
@@
void silc_server_query_send_reply(SilcServer server,
SILC_STATUS_ERR_NO_SUCH_NICK);
/* Make sure some error is sent */
- if (!query->errors_count)
+ if (!query->errors_count
&& !servers_count && !channels_count
)
silc_server_query_add_error(server, query, 2, 0,
SILC_STATUS_ERR_NOT_ENOUGH_PARAMS);
}