projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_away.c
diff --git
a/ircd/m_away.c
b/ircd/m_away.c
index 642ea94eca844c0e778cf83295fe46404fe99878..a321f9bb21078513cf65f8e33bfdd47214d5bf6b 100644
(file)
--- a/
ircd/m_away.c
+++ b/
ircd/m_away.c
@@
-124,9
+124,9
@@
static int user_set_away(struct User* user, char* message)
*/
unsigned int len = strlen(message);
- if (len >
TOPIC
LEN) {
- message[
TOPIC
LEN] = '\0';
- len =
TOPIC
LEN;
+ if (len >
AWAY
LEN) {
+ message[
AWAY
LEN] = '\0';
+ len =
AWAY
LEN;
}
if (away)
away = (char*) MyRealloc(away, len + 1);