| 1 |
/*******************************************************/ |
/*******************************************************/ |
| 2 |
/* */ |
/* */ |
| 3 |
/* LeafOK Innbbsd */ |
/* LeafOK Innbbsd */ |
| 4 |
/* Copyright (C) LeafOK.com, 2003-2004 */ |
/* Copyright (C) LeafOK.com, 2003-2005 */ |
| 5 |
/* */ |
/* */ |
| 6 |
/* Programmed by Leaf */ |
/* Programmed by Leaf */ |
| 7 |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
| 355 |
} |
} |
| 356 |
catch(CException* e) |
catch(CException* e) |
| 357 |
{ |
{ |
| 358 |
char strErrMsg[256]; |
char strErrMsg[1024]; |
| 359 |
e->GetErrorMessage(strErrMsg,256); |
e->GetErrorMessage(strErrMsg,1024); |
| 360 |
syslog << logfile::log_head << "Error in cmd_ihave() [" << strErrMsg << "]" << endl; |
syslog << logfile::log_head << "Error in cmd_ihave() [" << strErrMsg << "]" << endl; |
| 361 |
e->Delete(); |
e->Delete(); |
| 362 |
return -1; |
return -1; |
| 398 |
} |
} |
| 399 |
return 0; |
return 0; |
| 400 |
} |
} |
| 401 |
|
|
| 402 |
|
bool innd::check_priv(void) |
| 403 |
|
{ |
| 404 |
|
return this->access.get; |
| 405 |
|
} |