summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 20:19:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 20:19:01 +0000
commit861db357fb1d10962cd49ec47e42599634c5f45f (patch)
tree84c05e36e5f1f9459876a47482fa938918608c17
parentc854b6a0e182959223f1b602bdc0a745962b4d2b (diff)
Authentication fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@589 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/InspIRCd.layout20
-rw-r--r--src/connection.cpp1
2 files changed, 11 insertions, 10 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index c008e236d..be51ff58f 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -1,5 +1,5 @@
[Editors]
-Focused=1
+Focused=24
Order=1,2,4,6,3,7,25,5,24,-1
[Editor_0]
@@ -12,11 +12,11 @@ LeftChar=1
[Editor_1]
Open=1
-Top=1
-CursorCol=55
-CursorRow=6848
-TopLine=6803
-LeftChar=5
+Top=0
+CursorCol=1
+CursorRow=6857
+TopLine=6832
+LeftChar=1
[Editor_2]
Open=1
@@ -196,10 +196,10 @@ LeftChar=1
[Editor_24]
Open=1
-Top=0
-CursorCol=52
-CursorRow=260
-TopLine=217
+Top=1
+CursorCol=4
+CursorRow=263
+TopLine=254
LeftChar=1
[Editor_25]
Open=1
diff --git a/src/connection.cpp b/src/connection.cpp
index 6073b0a4a..737e11b8c 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -260,6 +260,7 @@ bool connection::SendPacket(char *message, char* host)
bool connection::RecvPacket(std::deque<std::string> &messages, char* host)
{
char data[32767];
+ memset(data, 0, 32767);
for (int i = 0; i < this->connectors.size(); i++)
{
// returns false if the packet could not be sent (e.g. target host down)