diff options
author | TingPing <tngpng@gmail.com> | 2013-07-02 12:19:47 -0400 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-07-02 12:19:47 -0400 |
commit | 50219a63add0c1aa8ff78b5c81dd579143284e61 (patch) | |
tree | a9afcdd73a24fc40cc054f9d8872c3db9ca7f215 | |
parent | 806c75f051366d10161b1d85d4419000b8086f8a (diff) |
Fix opening empty channel when url has trailing slash
-rw-r--r-- | src/common/outbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 3709ce96..6beaa2cc 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3253,7 +3253,7 @@ urlserv: co++; if (*co == '#') *channel = co+1; - else + else if (*co != '\0') *channel = co; /* check for key - mirc style */ |