diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-27 00:55:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-27 00:55:57 +0000 |
commit | b1502bf73c42297c864cce98becc934f469ac80d (patch) | |
tree | 01539fd5099fe441d64eaa4d8ec74131d41351f1 /src | |
parent | 496ef08226f93d877d90e56076704795fa349a4b (diff) |
Fix to bug number 21
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@830 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/InspIRCd.layout | 36 | ||||
-rw-r--r-- | src/commands.cpp | 4 |
2 files changed, 20 insertions, 20 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout index 2df2e5843..8e5b1ecf1 100644 --- a/src/InspIRCd.layout +++ b/src/InspIRCd.layout @@ -1,5 +1,5 @@ [Editors] -Focused=42 +Focused=43 Order=2,4,6,3,7,25,5,24,39,42,43,1,46,0,49,-1 [Editor_0] @@ -13,9 +13,9 @@ LeftChar=1 [Editor_1] Open=1 Top=0 -CursorCol=26 -CursorRow=2974 -TopLine=2920 +CursorCol=18 +CursorRow=1587 +TopLine=1576 LeftChar=1 [Editor_2] @@ -39,7 +39,7 @@ Open=1 Top=0 CursorCol=23 CursorRow=200 -TopLine=184 +TopLine=177 LeftChar=1 [Editor_5] @@ -204,9 +204,9 @@ LeftChar=1 [Editor_25] Open=1 Top=0 -CursorCol=2 -CursorRow=184 -TopLine=146 +CursorCol=1 +CursorRow=136 +TopLine=110 LeftChar=1 [Editor_26] Open=0 @@ -322,17 +322,17 @@ TopLine=1 LeftChar=1 [Editor_42] Open=1 -Top=1 -CursorCol=10 -CursorRow=849 -TopLine=811 -LeftChar=20 +Top=0 +CursorCol=76 +CursorRow=818 +TopLine=799 +LeftChar=34 [Editor_43] Open=1 -Top=0 -CursorCol=26 -CursorRow=683 -TopLine=651 +Top=1 +CursorCol=1 +CursorRow=233 +TopLine=194 LeftChar=1 [Editor_44] Open=0 @@ -458,7 +458,7 @@ Open=1 Top=0 CursorCol=1 CursorRow=81 -TopLine=41 +TopLine=68 LeftChar=1 [Editor_62] Open=1 diff --git a/src/commands.cpp b/src/commands.cpp index 5144d7ae5..ff9a5e41c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -228,12 +228,12 @@ void handle_kick(char **parameters, int pcnt, userrec *user) return; } - if (!has_channel(u,Ptr)) + if (!has_channel(user,Ptr)) { WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, parameters[0]); return; } - + char reason[MAXBUF]; if (pcnt > 2) |