[Editors]
-Focused=25
-Order=1,7,3,2,0,6,5,4,-1,25
+Focused=1
+Order=1,7,3,2,0,6,5,4,25
[Editor_0]
Open=1
[Editor_1]
Open=1
-Top=0
-CursorCol=11
-CursorRow=1918
-TopLine=1871
+Top=1
+CursorCol=1
+CursorRow=3562
+TopLine=3521
LeftChar=1
[Editor_2]
Top=0
CursorCol=1
CursorRow=1
-TopLine=19
+TopLine=6
LeftChar=1
[Editor_4]
Top=0
CursorCol=1
CursorRow=1
-TopLine=19
+TopLine=6
LeftChar=1
[Editor_8]
LeftChar=1
[Editor_12]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=142
LeftChar=1
[Editor_17]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
LeftChar=1
[Editor_20]
-Open=1
+Open=0
Top=0
CursorCol=13
CursorRow=271
LeftChar=1
[Editor_22]
-Open=1
+Open=0
Top=0
CursorCol=1
CursorRow=1
LeftChar=1
[Editor_25]
Open=1
-Top=1
-CursorCol=1
-CursorRow=26
+Top=0
+CursorCol=2
+CursorRow=22
TopLine=1
LeftChar=1
void handle_connect(char **parameters, int pcnt, userrec *user)
{
WriteServ(user->fd,"NOTICE %s :*** Connecting to %s port %s...",user->nick,parameters[0],parameters[1]);
- if (!me[defaultRoute]->BeginLink(parameters[0],atoi(parameters[1]),"password"))
+ if (me[defaultRoute])
{
- WriteServ(user->fd,"NOTICE %s :*** Failed to send auth packet to %s!",user->nick,parameters[0]);
+ if (!me[defaultRoute]->BeginLink(parameters[0],atoi(parameters[1]),"password"))
+ {
+ WriteServ(user->fd,"NOTICE %s :*** Failed to send auth packet to %s!",user->nick,parameters[0]);
+ }
+ }
+ else
+ {
+ WriteServ(user->fd,"NOTICE %s :No default route is defined for server connections on this server",user->nick);
}
}